using System;
using System.Collections.Generic;
using System.Text;
using GameFramework;

namespace Projet_X0
{
    public class Speed : State
    {
        private int speed;
        
        public Speed()
            : base((int)StatesID.Speed)
        {
            speed = 1;
        }
        public Speed(int speed)
            : base((int)StatesID.Speed)
        {
            this.speed = speed;
        }

        public int Get()
        {
            return speed;
        }

        public void Set(int speed)
        {
            this.speed = speed;
        }

        public override void Terminate()
        {
            
        }
    }
}
